package edu.xmut.decorator;

/**
 * @author 朔风
 * @date 2024-02-27 17:23
 */
public class ConcreteDecoratorA extends Decorator {

    /**
     * 本类独有的字段，以区别ConcreteDecoratorB
     */
    private String addedState;


    @Override
    public void operation() {
        super.operation();
        this.addedState = "具体装饰对象A的字段";
        System.out.println(this.addedState);
    }
}
